<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="com.hzqy.web.login.SessionKey"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%
String pageUrl=String.valueOf(session.getAttribute(SessionKey.SESSION_EPG_URL));
String jump_url="";
int flag=0;
if(pageUrl.indexOf("ZJTELECOMG500info")>=0){//500info需要将页面页面设置为标清
	flag=1;
}
String jumpEpgUrl=(String)session.getAttribute(SessionKey.SESSION_JUMP_EPG_URL);//
if(jumpEpgUrl!=null){//跳转回epg地址封装——针对行业跳转
	   if(pageUrl.indexOf("/iptvepg/")>0) { 
		   jump_url=pageUrl.substring(0,pageUrl.lastIndexOf("/iptvepg/")+9)+jumpEpgUrl;
	   }else{
		   jump_url=pageUrl.substring(0,pageUrl.lastIndexOf("/jsp/")+5)+jumpEpgUrl;
	   }
}else{
	jump_url=pageUrl;
}
if(jump_url.indexOf("hd")>=0||jump_url.indexOf("HD")>=0||jump_url.indexOf("frame1020")>=0||jump_url.indexOf("frame1021")>=0||jump_url.indexOf("frame1030")>=0){
	flag=2;
}
%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%if(flag==2){ %>
<meta name="page-view-size" content="1280*720" />
<%}else{ %>
<meta name="page-view-size" content="640*530" />
<%} %>
<title>跳转epg</title>
</head>
 <body style="background-color: #000000" >
 <%if(flag==2){ %>
 <div style="color:#ffffff;left:620px;top:350px;position:absolute;">正在加载。。。。</div>
<%}else{ %>
 <div style="color:#ffffff;left:300px;top:250px;position:absolute;">正在加载。。。。</div>
<%} %>

    </body>
 <script type="text/javascript">
	 var url="<%=jump_url %>";
		window.onload=function(){
			window.location.href=url;
		}
    </script>
</html>